package org.neuedu.chapter06_0622.demo06;

public class StringDemo01 {
    public static void main(String[] args) {
        String str1 = new String("hello");
        String str2 = "hello";
        System.out.println(str1 == str2);
        System.out.println(str1.equals(str2));
    }
}
